package ch3;

public class ObjStudent3 {

	public static void main(String[] args) {
		Student s = new Student("小吴", 100);
		System.out.println(s);
		s = new Student("小吴", 100);
		System.out.println(s);
		s.show();
		Triangle t = new Triangle(40, 50, 60);
		double zhou = t.zhouchang();
		System.out.println("这个三角形的周长是：" + zhou);

		// Student s = new Student("徐明浩", 88, 89);
		// s.show();
		// Student ar[] = new Student[10];
		// for (int i = 0; i < ar.length; i++) {
		// ar[i] = new Student("刘" + i, 80 + i, 70 + i);
		// }
		// for (int i = 0; i < ar.length; i++) {
		// ar[i].show();
		// }
	}
}
